package net.zjitc.service.impl;


import net.zjitc.dao.BookDao;
import net.zjitc.dao.impl.BookDaoImpl;
import net.zjitc.domain.Book;
import net.zjitc.service.BookService;


import java.sql.SQLException;
import java.util.List;

/**
 * Created by rj1502 on 2017/10/16.
 */
public class BookServiceImpl implements BookService{
    private BookDao bookDao = new BookDaoImpl();
    @Override
    public List<Book> findAll() throws SQLException {
        return bookDao.findAll();
    }
}
